package dpatterns.decorator.starbuzz.condiments.impl;

import dpatterns.decorator.starbuzz.coffee.Coffee;
import dpatterns.decorator.starbuzz.condiments.CondimentDecorator;

public class Mocha extends CondimentDecorator {
	
	public Mocha(Coffee newCoffee) {
		super(newCoffee);
		System.out.println("Adding Mocha.");
	}

	@Override
	public String getDescription() {
		return tempCoffee.getDescription()+", Mocha";
	}

	@Override
	public double getCost() {
		return tempCoffee.getCost()+1.00;
	}
}
